package com.gee.spring.boot.rpf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gee.spring.boot.rpf.entity.RefClientFlowFactorInfo;
import com.gee.spring.boot.rpf.mapper.RefClientFlowFactorCalculatorMapper;
import com.gee.spring.boot.rpf.service.RefClientFlowFactorInfoService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 接口和因子计算器关联表 服务实现类
 * </p>
 *
 * @author gee
 * @since 2021-02-07
 */
@Service
public class RefClientFlowFactorInfoServiceImpl extends ServiceImpl<RefClientFlowFactorCalculatorMapper, RefClientFlowFactorInfo> implements RefClientFlowFactorInfoService {

    @Resource
    @Qualifier("refClientFlowFactorCalculatorMapper")
    private RefClientFlowFactorCalculatorMapper mapper;
    @Override
    public List<RefClientFlowFactorInfo> listInUse() {
        return mapper.listInUse();
    }
}
